<template>
  <!-- swipe轮播图 -->
  <Swipe></Swipe>
  <!-- header标题栏 -->
  <van-sticky
    ><Header></Header>
    <!-- navigation导航页 -->
    <Nav></Nav
  ></van-sticky>
  <!-- content内容页 包括侧边导航和主体 -->
  <router-view v-slot="{ Component }">
    <keep-alive>
      <component :is="Component" />
    </keep-alive>
  </router-view>
</template>
<script setup lang="ts">
import Swipe from "@/components/swipe/Swipe.vue";
import Header from "@/components/header/Header.vue";
import Nav from "@/components/nav/Nav.vue";
</script>
<style lang="less"></style>
